#!/usr/bin/env python3
# -*- coding:utf-8 -*-
'''
本地调试时，python3 main.py即可启动本程序
Created on 2019年3月24日
@author: bkd
'''
import logging
import traceback
from tkinter import messagebox

logging.basicConfig(level=logging.INFO,
                    format='%(asctime)s %(name)s %(message)s', datefmt='%m-%d %H:%M:%S')
logger = logging.getLogger(__name__)

if __name__ == '__main__':
    #         防止初始化异常
    try:
        from kdFileFinder.kdFileFinder import main
        main()
    except Exception as e:
        logger.error(traceback.format_exc())
        messagebox.showerror("系统异常", str(e))
